]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Fix bubbling in the slider widget
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 14 Feb 2013 22:33:48 +0000 (17:33 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 6 Jun 2013 18:00:38 +0000 (14:00 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=701755

js/ui/popupMenu.js

index fbe1e7e4115e27cb00fee2456d566ce21c77f19a..a70b56f2c40a693f9ac5e4cc6c952fbd44023202 100644 (file)
@@ -621,7 +621,7 @@ const PopupSliderMenuItem = new Lang.Class({
 
     _startDragging: function(actor, event) {
         if (this._dragging) // don't allow two drags at the same time
-            return;
+            return false;
 
         this._dragging = true;
 
@@ -634,6 +634,8 @@ const PopupSliderMenuItem = new Lang.Class({
         let absX, absY;
         [absX, absY] = event.get_coords();
         this._moveHandle(absX, absY);
+
+        return true;
     },
 
     _endDragging: function() {